package com.augurit.gzcgwsp.sendNotice.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

/**
 * 每天办件流水号表--实体
 * @author xu
 *
 */
@Entity
@Table(name = "YW_MTBJLSH_INFO")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class YwMtbjlshInfo  implements java.io.Serializable {

	// 属性	
	private String mtLsh;//每天流水号
	
	private Date rq;//最后日期
	
	private String field1;//备用字段1
	
	private Date field2;//备用字段2
	
	@Id
    @Column(name = "ID")
    @SequenceGenerator(name="SEQ_YW_MTBJLSH_INFO", sequenceName="SEQ_YW_MTBJLSH_INFO", allocationSize=1)
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SEQ_YW_MTBJLSH_INFO")
	private Long id;

	public String getMtLsh() {
		return mtLsh;
	}

	public void setMtLsh(String mtLsh) {
		this.mtLsh = mtLsh;
	}

	public Date getRq() {
		return rq;
	}

	public void setRq(Date rq) {
		this.rq = rq;
	}

	public String getField1() {
		return field1;
	}

	public void setField1(String field1) {
		this.field1 = field1;
	}

	public Date getField2() {
		return field2;
	}

	public void setField2(Date field2) {
		this.field2 = field2;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	
}
